<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-proLineLog-add"  autocomplete="off">
			<div class="form-group">	
				<label class="col-sm-3 control-label">日期：</label>
				<div class="col-sm-8">
					<!--<input id="nowTime" name="nowTime" class="form-control" type="text">-->
					<input type="text" class="form-control time-input" id="select_datetime1" placeholder="日期" name="nowTime"/>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">生产线编码：</label>
				<div class="col-sm-8">
					<input id="lineCode" name="lineCode" class="form-control" type="text">
				</div>
			</div>
			<!--<div class="form-group">
				<label class="col-sm-3 control-label">生产线名称：</label>
				<div class="col-sm-8">
					<input id="lineName" name="lineName" class="form-control" type="text">
				</div>
			</div>-->
			<!--<div class="form-group">
				<label class="col-sm-3 control-label">计划投产数量：</label>
				<div class="col-sm-8">
					<input id="planNum" name="planNum" class="form-control" type="text">
				</div>
			</div>-->
			<div class="form-group">	
				<label class="col-sm-3 control-label">实际生成数量：</label>
				<div class="col-sm-8">
					<input id="realNum" name="realNum" class="form-control" type="text">
				</div>
			</div>
			<!--<div class="form-group">
				<label class="col-sm-3 control-label">达成率：</label>
				<div class="col-sm-8">
					<input id="reachRate" name="reachRate" class="form-control" type="text">
				</div>
			</div>-->
			<!--&lt;!&ndash;<div class="form-group">
				<label class="col-sm-3 control-label">设备运行状态：</label>
&lt;!&ndash;				<div class="col-sm-8">&ndash;&gt;
&lt;!&ndash;					<input id="runState" name="runState" class="form-control" type="text">&ndash;&gt;
&lt;!&ndash;				</div>&ndash;&gt;
				<div class="col-sm-8">
					<div class="radio-box" th:each="dict : ${@dict.getType('run_state')}">
						<input type="radio" th:id="${dict.dictCode}" name="runState" th:value="${dict.dictValue}" th:checked="${dict.isDefault == 'Y' ? true : false}">
						<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
					</div>
				</div>&ndash;&gt;
			</div>-->
			<div class="form-group">	
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<input id="remark" name="remark" class="form-control" type="text">
				</div>
			</div>
			<!--<div class="form-group">
				<label class="col-sm-3 control-label">0:正常,1:删除：</label>
				<div class="col-sm-8">
					<input id="delFlag" name="delFlag" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">创建者：</label>
				<div class="col-sm-8">
					<input id="createBy" name="createBy" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">创建时间：</label>
				<div class="col-sm-8">
					<input id="createTime" name="createTime" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">更新者：</label>
				<div class="col-sm-8">
					<input id="updateBy" name="updateBy" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">更新时间：</label>
				<div class="col-sm-8">
					<input id="updateTime" name="updateTime" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">生产线ID：</label>
				<div class="col-sm-8">
					<input id="lineId" name="lineId" class="form-control" type="text">
				</div>
			</div>-->
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "project/proLineLog"
		$("#form-proLineLog-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-proLineLog-add').serialize());
	        }
	    }
	</script>
</body>
</html>
